<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>CMDB</title>
</head>
<body>
<div style="margin:20px 0;"></div>
<h2>主机管理系统 欢迎登录</h2>
		<form method="post" action="http://127.0.0.1:8000/login/">
			<div style="margin-bottom:20px">用户名：<input name="user" placeholder="用户名"/></div>
			<div style="margin-bottom:20px">密码：<input name="pwd" placeholder="密码"/></div>
			<div style="margin-bottom:20px"><input type="submit" value="登录"/><label style=color:red;>{{status}}</label></div>
			<div style="margin-bottom:20px"><a href="http://127.0.0.1:8000/register/">还没账号？现在注册一个</a></div>
		</form>
</body>
</html>